package cxt.cn.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cxt.cn.community.entity.Dto.*;
import cxt.cn.community.entity.User;

/*
 * @Author chenxiaotian
 * @Description:
 * @Date:2022122022/12/30
 * @Time:14:59
 */
public interface adminService extends IService<User> {
    User login(AdminLoginDto cmsLogin);

    int register(AdminRegisterDto adminRegisterDto);

    int modify(ModifyDto modifyDto);

    int modifyUserInfo(AdminInfoDto adminInfoDto);

    int modifyPassword(ModifyPassword modifyPassword);

    void logout(String username);
}
